<div class="message<?php echo $type != 'message' ? " {$type}" : '';?>"><?php echo $content;?></div>